/*******************************************************************************
 * Copyright (c) 2014-8-21 @author <a href="mailto:iffiff1@hotmail.com">Tyler Chen</a>.
 * All rights reserved.
 *
 * Contributors:
 *     <a href="mailto:iffiff1@hotmail.com">Tyler Chen</a> - initial API and implementation
 ******************************************************************************/
package com.foreveross.project.projectonline.jfinal.plugin;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.jfinal.plugin.activerecord.Page;

/**
 * @author <a href="mailto:iffiff1@hotmail.com">Tyler Chen</a> 
 * @since 2014-8-21
 */
@SuppressWarnings("serial")
public class EstPage<T> extends Page<T> {

	private Map<String, Object> conditions = new HashMap<String, Object>();
	private Map<String, Integer> groupCount = new HashMap<String, Integer>();

	public EstPage(List<T> list, int pageNumber, int pageSize, int totalPage, int totalRow) {
		super(list, pageNumber, pageSize, totalPage, totalRow);
	}

	public Map<String, Object> getConditions() {
		return conditions;
	}

	public void setConditions(Map<String, Object> conditions) {
		this.conditions = conditions;
	}

	public Map<String, Integer> getGroupCount() {
		return groupCount;
	}

	public void setGroupCount(Map<String, Integer> groupCount) {
		this.groupCount = groupCount;
	}

}
